package com.ruoyi.im.domain;

import com.ruoyi.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户群分组明细表 im_group_grouping_details
 * 
 * @author lxs
 * @date 2018-11-09
 */
public class GroupGroupingDetails extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Long id;
	/** 用户id */
	private Long userId;
	/** 群id */
	private Long groupId;
	/** 分组id */
	private Long groupingId;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setUserId(Long userId) 
	{
		this.userId = userId;
	}

	public Long getUserId() 
	{
		return userId;
	}
	public void setGroupId(Long groupId) 
	{
		this.groupId = groupId;
	}

	public Long getGroupId() 
	{
		return groupId;
	}
	public void setGroupingId(Long groupingId) 
	{
		this.groupingId = groupingId;
	}

	public Long getGroupingId() 
	{
		return groupingId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("groupId", getGroupId())
            .append("groupingId", getGroupingId())
            .toString();
    }
}
